package com.hwadee.ems.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

import com.fasterxml.jackson.annotation.JsonValue;

import lombok.Getter;

@Getter
public enum ClassroomCategory {
    NORMAL(0, "普通教室"),
    EXPERIMENTAL(1, "实验室"),
    MULTIMEDIA(2, "多媒体教室"),
    OTHER(3, "其他")
    ;

    @EnumValue
    private final int value;
    @JsonValue
    private final String description;

    ClassroomCategory(int value, String description) {
        this.value = value;
        this.description = description;
    }

}
